func net/http.hasToken
7 uses
net/http (current package)
header.go#L240: func hasToken(v, token string) bool {
request.go#L1519: return hasToken(r.Header.get("Expect"), "100-continue")
request.go#L1526: return hasToken(r.Header.get("Connection"), "keep-alive")
request.go#L1533: return hasToken(r.Header.get("Connection"), "close")
request.go#L1589: return hasToken(r.Header.Get("Connection"), "upgrade") &&
server.go#L1567: (!keepAlivesEnabled || !hasToken(cw.header.get("Connection"), "close")) &&
transfer.go#L278: if t.Close && !hasToken(t.Header.get("Connection"), "close") {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |